package com.ysg.http.data.entity.trip;

import android.os.Parcel;
import android.os.Parcelable;

public class TripEntity implements Parcelable {
    private String destination;//  private String 莆田湄洲岛
    private String id;//  1,
    private String name;//  private String 霸道总裁
    private String reachTime;//  private String 三五天
    private String remark;//  private String 看看大海

    private String setOutTime;//  private String 某个周末
    private String sex;//  2,
    private String tag;//  private String 说走就走
    private String travel;//  private String 大巴
    private String userId;//  676,

    private String userImg;//  private String http://zhiyuapphn.oss-cn-shenzhen.aliyuncs.com/image/d13fd7b4c7ec492ca76a0bf6d68f772b.jpg
    private String userName;//  private String 2389
    private String media;

    protected TripEntity(Parcel in) {
        destination = in.readString();
        id = in.readString();
        name = in.readString();
        reachTime = in.readString();
        remark = in.readString();

        setOutTime = in.readString();
        sex = in.readString();
        tag = in.readString();
        travel = in.readString();
        userId = in.readString();

        userImg = in.readString();
        userName = in.readString();
        media = in.readString();
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeString(destination);
        parcel.writeString(id);
        parcel.writeString(name);
        parcel.writeString(reachTime);
        parcel.writeString(remark);

        parcel.writeString(setOutTime);
        parcel.writeString(sex);
        parcel.writeString(tag);
        parcel.writeString(travel);
        parcel.writeString(userId);

        parcel.writeString(userImg);
        parcel.writeString(userName);
        parcel.writeString(media);
    }

    public static final Creator<TripEntity> CREATOR = new Creator<TripEntity>() {
        @Override
        public TripEntity createFromParcel(Parcel in) {
            return new TripEntity(in);
        }

        @Override
        public TripEntity[] newArray(int size) {
            return new TripEntity[size];
        }
    };





    public String getDestination() {
        return destination;
    }

    public void setDestination(String destination) {
        this.destination = destination;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getReachTime() {
        return reachTime;
    }

    public void setReachTime(String reachTime) {
        this.reachTime = reachTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getSetOutTime() {
        return setOutTime;
    }

    public void setSetOutTime(String setOutTime) {
        this.setOutTime = setOutTime;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getTravel() {
        return travel;
    }

    public void setTravel(String travel) {
        this.travel = travel;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserImg() {
        return userImg;
    }

    public void setUserImg(String userImg) {
        this.userImg = userImg;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getMedia() {
        return media;
    }

    public void setMedia(String media) {
        this.media = media;
    }
}
